package com.example.fms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.fms.dto.req.CategoriesReqDto;
import com.example.fms.dto.resp.CategoriesAttributesRespDto;
import com.example.fms.entity.CategoriesAttributes;
import com.example.fms.entity.Right;

import java.util.List;

public interface CategoriesAttributesService extends IService<CategoriesAttributes> {
    List<CategoriesAttributesRespDto> getAttributes(Long id, String sel);

    Boolean saveAttributes(Integer id, CategoriesReqDto req);

    CategoriesAttributesRespDto getAttributesById(Long id, Long attrId, String sel);

    Boolean putAttributesById(Long id, Long attrId, CategoriesReqDto req);

    Boolean deleteAttributesById(Long id, Long attrId);

}
